Class NumberFormat

Summary

Fully Qualified Name: Laminas\I18n\Filter\NumberFormat
Extends: NumberParse

Description

Methods

Name Description Defined By
__construct() NumberParse
__invoke() Invoke filter as a command AbstractFilter
filter() Defined by Laminas\Filter\FilterInterface NumberFormat
getFormatter() NumberParse
getLocale() Returns the locale option AbstractLocale
getOptions() Retrieve options representing object state AbstractFilter
getStyle() NumberParse
getType() NumberParse
hasPcreUnicodeSupport() AbstractFilter
setFormatter() NumberParse
setLocale() NumberParse
setOptions() AbstractFilter
setStyle() NumberParse
setType() NumberParse

Method Details

__construct()

Parameter Name Type Description
$localeOrOptions array|\Traversable|string|null
$style int
$type int

Returns:

__invoke()

Invoke filter as a command

Proxies to {@link filter()}

Parameter Name Type Description
$value mixed

Returns: mixed

filter()

Defined by Laminas\Filter\FilterInterface

Parameter Name Type Description
$value mixed

Returns: mixed

getFormatter()

Returns: \NumberFormatter

getLocale()

Returns the locale option

Returns: string

getOptions()

Retrieve options representing object state

Returns: array

getStyle()

Returns: int

getType()

Returns: int

hasPcreUnicodeSupport()

Returns: bool

setFormatter()

Parameter Name Type Description
$formatter \NumberFormatter

Returns: $this

setLocale()

Parameter Name Type Description
$locale string|null

Returns: $this

setOptions()

Parameter Name Type Description
$options array|\Traversable

Returns: self

setStyle()

Parameter Name Type Description
$style int

Returns: $this

setType()

Parameter Name Type Description
$type int

Returns: $this

Top